import request from '@/utils/request'

// 查询销毁数据列表
export function listArchiveDes(query) {
  return request({
    url: '/archive/ArchiveDes/list',
    method: 'get',
    params: query
  })
}

// 查询销毁数据详细
export function getArchiveDes(id) {
  return request({
    url: '/archive/ArchiveDes/' + id,
    method: 'get'
  })
}

// 新增销毁数据
export function addArchiveDes(data) {
  return request({
    url: '/archive/ArchiveDes',
    method: 'post',
    data: data
  })
}

// 修改销毁数据
export function updateArchiveDes(data) {
  return request({
    url: '/archive/ArchiveDes',
    method: 'put',
    data: data
  })
}

// 删除销毁数据
export function delArchiveDes(id) {
  return request({
    url: '/archive/ArchiveDes/' + id,
    method: 'delete'
  })
}
